
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>山东大学(威海)贴吧自研论坛</title>
	<meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport" />
	<meta content="yes" name="apple-mobile-web-app-capable" />
	<meta content="black" name="apple-mobile-web-app-status-bar-style" />
	<meta content="telephone=no" name="format-detection" />
	<link href="../css/style.css" rel="stylesheet" type="text/css" />
	<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>

</head>
<body>
<section class="aui-flexView">

	<header class="aui-navBar aui-navBar-fixed">
		<a href="javascript:history.back(-1);" class="aui-navBar-item">
			<i class="icon icon-return"></i>
		</a>
		<div class="aui-center">
			<span class="aui-center-title">简单新文本编辑</span>
		</div>
		<a href="javascript:;" class="aui-navBar-item">
			<i class="icon icon-sys"></i>
		</a>
	</header>
	<div class="divHeight"></div>
	<section class="aui-scrollView" style="padding-bottom: 0px;">
		<div class="aui-flex b-line" style="padding:1.2em;" >
			<div class="aui-flex-box">
				<div class="doctitle" contenteditable="true" id="texttitle">请在这里输入标题</div>
			</div>
			<div class="aui-flex-drop">
				<div class="dropmenu">
					<dropmenu :dropitem="majors"></dropmenu>
				</div>
			</div>
		</div>
		<div class="divHeight"></div>
		<div class="aui-platform-list aui-context" style="padding:1.2em; height:70%">
			<div class="document" id="document" contenteditable="true" style="display: block; width: 100%; height: 100%; font-size:12px">现在我还是个纯洁的编辑器</div>
		</div>
		<div class="send-btn" style="padding: 0.4em; height: 20%;">
			<div class="circle-btn circle-btn-blue" @click="submit">
				发布
			</div>
		</div>
	</section>
	<!-- <footer class="aui-footer aui-footer-fixed">
		<div class="aui-flex-box textarea" contenteditable="true" style="display: block; width: 80%;">
		</div>
		<div class="aui-arrow">
			<span onclick="send()">发送</span>
		</div>
	</footer> -->
</section>
<script type="text/javascript" src="../js/jquery.min.js"></script>
<script type="text/javascript" src="https://www.maksdu.com/static/js/base.js"></script>
<script type="text/javascript" src="js/write.js"></script>
<script type="text/javascript">

	$("div[contenteditable='true']").focus(function(){
		if(!$(this).attr('edit')) {
			$(this).attr('edit',true);
			$(this).empty();
		}
	});

</script>
</body>
</html>
